import Vue from 'vue'
import Vuex from 'vuex'
import channels from './modules/channels'
import user from './modules/user'
Vue.use(Vuex)
const store = new Vuex.Store({
  // 开发模式下启用严格模式
  strict: process.env.DONE_ENV !== 'production',
  state: {},
  getters: {},
  mutations: {},
  actions: {},
  modules: {
    user,
    channels
  }
})

export default store
